package ch.electronet.wjw.web.actions;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.opensymphony.xwork2.ActionSupport;

@Results(value = { @Result(name = "sidebar", location = "album-sidebar.jsp") })
public class AlbumAction extends ActionSupport {

	private static final long serialVersionUID = 1L;

	Log log = LogFactory.getLog(AlbumAction.class);

	@Override
	public String execute() throws Exception {
		return SUCCESS;
	}

	@Action("albumSidebar")
	public String sidebar() throws Exception {
		return "sidebar";
	}
}
